home *** CD-ROM | disk | FTP | other *** search
/ Merciful 1 / Merciful - Disc 1.iso / software / m / maxon_magic / maxonmagic.dms / in.adf / Install-MM-Disk < prev    next >
Encoding:
Text File  |  1994-05-27  |  2.3 KB  |  86 lines

  1. (set WBVer (< 2424832 (getversion "exec.library" (resident))))
  2. (User 2)
  3. (Message "MaxonMAGIC floppy disk installation requires"
  4. " a blank formatted disk and a copy of your Workbench disk")
  5.  
  6. (copyfiles
  7. (source "MMInstall:Tools/lhex")
  8. (dest "RAM:")
  9. )
  10. (copyfiles
  11. (source "MMInstall:MMAGIC.LHA")
  12. (dest "RAM:")
  13. )
  14. (copyfiles
  15. (source "MMInstall:Libs/rct.library")
  16. (dest "RAM:")
  17. )
  18. (Message "Insert the blank formatted disk in drive DF1:")
  19. (Working "Extracting modules this will take a few minutes")
  20. (run "Ram:Lhex -fFw=DF1: x RAM:MMAGIC.LHA MM_Sounds/* MM_SModule/* MM_Effekte/*")
  21. (Message "Remove the modules disk from DF1: and label it MaxonMAGIC modules")
  22. (Message "Insert the Workbench disk you want to install MaxonMAGIC on in DF1:")
  23. (delete "df1:c/ed")
  24. (delete "df1:c/diskdoctor")
  25. (delete "df1:Devs/narrator.Device")
  26. (delete "df1:libs/translator.library")
  27. (delete "df1:libs/AmigaGuide.Library")
  28. (delete "df1:libs/bullet.Library")
  29. (delete "df1:libs/datatypes.Library")
  30. (delete "df1:Libs/Rexxsupport.Library")
  31. (delete "df1:Libs/mathtrans.Library")
  32. (delete "df1:Libs/Rexxsyslib.Library")
  33. (delete "df1:L/Speak-Handler")
  34. (delete "df1:L/CrossDOSFileSystem")
  35. (delete "df1:L/FastFileSystem")
  36. (copyfiles
  37. (source "RAM:rct.library")
  38. (dest "DF1:libs")
  39. )
  40. (run "Ram:Lhex -fFw=DF1: x RAM:MMAGIC.LHA Play*")
  41.  
  42. (set autorun
  43. (askbool
  44. (prompt "Auto run MaxonMagic at boot up 2.0/3.0 only - see help for Workbench 1.3?")
  45. (help "If your machine is running Workbench 1.3 the installation"
  46. " cannot add a line to your startup sequence, you must edit the file"
  47. " S:StartupII and add the line:-\n\n"
  48. "   MaxonMAGIC\n\n"
  49. "This will then make MaxonMAGIC auto run at boot up.")
  50. (Choices "Auto Run" "Don't Auto Run")
  51. (default 1)
  52. ))
  53. (Working "\n\nExtracting MaxonMagic program file hold a moment..")
  54. (if (= autorun 1)
  55. (
  56. (if (AND (= WBVer 1) (= (exists "DF1:WBStartup") 2))
  57.     (
  58.     (run "RAM:Lhex -fFw=DF1:WBStartup x RAM:MMAGIC.LHA Maxon*")
  59.     (tooltype
  60.     (settooltype "PATH" "DF1:")
  61.     (dest "DF1:WBStartup/MaxonMAGIC")
  62.     )
  63.     )
  64. )
  65. (If (= WBVer 0)
  66. (
  67. (run "RAM:Lhex -fFw=DF1: x RAM:MMAGIC.LHA Maxon*")
  68. (tooltype
  69. (settooltype "PATH" "DF1:")
  70. (dest "DF1:MaxonMAGIC")
  71. )
  72. )
  73. )
  74. )
  75. (
  76. (run "RAM:Lhex -fFw=DF1: x RAM:MMAGIC.LHA Maxon*")
  77. (tooltype
  78. (settooltype "PATH" "DF1:")
  79. (dest "DF1:MaxonMAGIC")
  80. )
  81. )
  82. )
  83. (delete "RAM:Lhex")
  84. (delete "RAM:MMAGIC.LHA")
  85. (delete "RAM:rct.library")
  86.